﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SourceControlEssentials
{
    class Shylova : IStudent
    {
        public int GetHashCode()
        {
            return 23;
        }

        public int Id()
        {
            return GetHashCode();
        }        
        public string GetLastName() 
        {
            return "Shylova";
        }

        public string GetFirstName() 
        {
            return "Yuliya";
        }

        public int GetGroup() 
        {
            return 318;
        }

        public string MethodName() 
        {
            return "Reverse words";
        }
        public string ExecuteStrategy(string value)
        {
            string[] words = value.Split(' ');
            Array.Reverse(words);
            return string.Join(" ", words); 
        }
    }
}
